package com.xb.cloud.product.service.business.model.mapper;

import com.xb.cloud.product.service.business.model.PromotionSku;
import com.xb.cloud.product.service.business.model.PromotionSkuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PromotionSkuMapper {
    long countByExample(PromotionSkuExample example);

    int deleteByExample(PromotionSkuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PromotionSku record);

    int insertSelective(PromotionSku record);

    List<PromotionSku> selectByExample(PromotionSkuExample example);

    PromotionSku selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PromotionSku record, @Param("example") PromotionSkuExample example);

    int updateByExample(@Param("record") PromotionSku record, @Param("example") PromotionSkuExample example);

    int updateByPrimaryKeySelective(PromotionSku record);

    int updateByPrimaryKey(PromotionSku record);
}